package pattern.behavioral.visitor.simple;

/**
 * @author: chaoyang.ren  
 * @date:Jun 20, 2017  
 * @time:2:24:38 PM   
 * @email:chaoyang.ren@foxmail.com  
 * @version: 1.0
 */
public class ConcretVisitorOne implements Visitor{
	public void visit(Element element) {
		doSomething();
		element.doSomething();
	}
	public void doSomething(){
		System.out.println("做一些与Element关系不大的操作");
	}
}

